<?php
$sendTo = "lolaitang@yahoo.com";
$subject = "Lola Itang Online Inquiry";


$headers = "From: " . $_POST["name"];
$headers .= "<" . $_POST["email"] . ">\r\n";
$headers .= "Reply-To: " . $_POST["email"] . "\r\n";
$headers .= "Return-Path: " . $_POST["email"] . "\r\n";
$headers .= "bcc: lolaitangbooking@gmail.com";

$message = "Message: \n";
$message .= $_POST["message"] . "\n\n";
$message .= "Name: " . $_POST["name"]."\n";
$message .= "Phone Number: " . $_POST["contact"]."\n";
$message .= "Email Address: " . $_POST["email"];

mail($sendTo, $subject, $message, $headers);
header('location:contact_ty.htm');
?>
